﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Animation;
using MapLibrary;

namespace AI
{
    class AI
    {
        public void update(Level level)
        {
            List<Sprite> sprites = level.getSpritesWithBots();

            foreach (Sprite sprite in sprites)
            {
                if (sprite != null)
                {
                    sprite.UpdateAI(level);
                }
            }
        }
    }
}
